package com.geofeature.models;

import android.R.string;
import android.widget.RemoteViews;

import java.io.Serializable;

public class Task implements Serializable
{
    public String db_name = "tasks";
	public int id = 0;
	public String name = "";
	public double latitude = 0.0;
	public double longtitude = 0.0;
	public double radius = 1.5; //kilomiters
	public String[] columns = {"id", "name", "action_in_id", "action_out_id", "latitude", "longtitude", "radius"};

    public Action getInAction() {
        return action_in;
    }

    public Action getOutAction() {
        return action_out;
    }

    private Action action_in, action_out;

    public void setInAction(Action action) {
        this.action_in = action;
    }

    public void setOutAction(Action action) {
        this.action_out = action;
    }

        public String getDb_name() {
        return db_name;
    }

    public void setDb_name(String db_name) {
        this.db_name = db_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getColumns() {
        return columns;
    }

    public void setColumns(String[] columns) {
        this.columns = columns;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(double longtitude) {
        this.longtitude = longtitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

}
